package org.example.car.system.service.impl;

import org.example.car.system.mapper.UserPostMapper;
import org.example.car.system.service.UserPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: cy
 * @Date: 2024/6/27 19:11
 */
@Service
public class UserPostServiceImpl implements UserPostService {


    @Autowired
    private UserPostMapper userPostMapper;

    @Override
    public List<Integer> getPostIds(Integer userId) {
        return userPostMapper.getPostIds(userId);
    }
}
